package com.ykt.mall.content;

import java.util.HashMap;
import java.util.Map;

public class Content {
	
	public static final String SYS_URL = "http://xxxx.smpay.cn:90/";
	
	public static final String SESSION_LOGIN_USER="current_user";
	
	public static final String SESSION_SUBMIT="session_submit";
	
	public static final String SESSION_SHOP="session_shop";
	
	public static final String SESSION_LOGIN_LOG_ID="loginLogId";//登录日志ID
	
	public static final Map<String,String> PAY_CODE_MAP = new HashMap<String,String>();
	
	public static final Map<String,String> CHARGE_CODE_MAP = new HashMap<String,String>();
	
    static{
    	initPayCodeText();
    	initChargeCodeText();
    }
    
	public static void initPayCodeText(){
		PAY_CODE_MAP.put("P_0000","支付成功");
		PAY_CODE_MAP.put("P_0025","支付失败，无此订单或订单已支付");
		PAY_CODE_MAP.put("P_0051","支付失败，银行卡余额不足");
		PAY_CODE_MAP.put("P_0055","支付失败，银行卡密码错误");
		PAY_CODE_MAP.put("P_0061","支付失败，支付金额超过每月累积限额");
		PAY_CODE_MAP.put("P_0063","支付失败，身份证号与银行开户预留信息不匹配");
		PAY_CODE_MAP.put("P_0064","支付失败，身份信息（姓名或身份证）与银行预留信息不匹配");
		PAY_CODE_MAP.put("P_0075","支付失败，密码错误次数太多");
		PAY_CODE_MAP.put("P_0086","支付失败，订单未支付");
		PAY_CODE_MAP.put("P_00B5","支付失败，超过系统每笔金额限制");
		PAY_CODE_MAP.put("P_00B6","支付失败，超过系统30日金额限制");
		PAY_CODE_MAP.put("P_00AA","订单未支付");
		PAY_CODE_MAP.put("P_00DD","支付失败，银行卡不可使用");
		PAY_CODE_MAP.put("P_00PP","订单正在支付");
		PAY_CODE_MAP.put("P_00J2","支付失败，手机号码与银行开户预留信息不匹配");
		PAY_CODE_MAP.put("P_00NN","支付失败，请稍后再试");//PAY_CODE_MAP.put("P_00NN","订单失效");
		PAY_CODE_MAP.put("P_0096","系统忙，请稍后再试");
		
	}
	
	public static void initChargeCodeText(){
		CHARGE_CODE_MAP.put("P_0000","充值成功");
		CHARGE_CODE_MAP.put("P_0025","充值失败，无此充值单或已充值");
		CHARGE_CODE_MAP.put("P_0051","充值失败，银行卡余额不足");
		CHARGE_CODE_MAP.put("P_0055","充值失败，银行卡密码错误");
		CHARGE_CODE_MAP.put("P_0061","充值失败，充值金额超过每月累积限额");
		CHARGE_CODE_MAP.put("P_0063","充值失败，身份证号与银行开户预留信息不匹配");
		CHARGE_CODE_MAP.put("P_0064","充值失败，身份信息（姓名或身份证）与银行预留信息不匹配");
		CHARGE_CODE_MAP.put("P_0075","充值失败，密码错误次数太多");
		CHARGE_CODE_MAP.put("P_0086","充值失败，本次充值单未充值");
		CHARGE_CODE_MAP.put("P_00B5","充值失败，超过系统每笔金额限制");
		CHARGE_CODE_MAP.put("P_00B6","充值失败，超过系统30日金额限制");
		CHARGE_CODE_MAP.put("P_00AA","充值单未充值");
		CHARGE_CODE_MAP.put("P_00DD","充值失败，银行卡不可使用");
		CHARGE_CODE_MAP.put("P_00PP","正在充值");
		CHARGE_CODE_MAP.put("P_00J2","充值失败，手机号码与银行开户预留信息不匹配");
		CHARGE_CODE_MAP.put("P_00NN","充值失败，请稍后再试");//PAY_CODE_MAP.put("P_00NN","订单失效");
		CHARGE_CODE_MAP.put("P_0096","系统忙，请稍后再试");
		
	}
    
}
